/*
 * @Author: WangGuojian 1085844536@qq.com
 * @Date: 2023-03-29 00:19:23
 * @LastEditTime: 2023-03-30 23:35:40
 * @LastEditors: WangGuojian 1085844536@qq.com
 * @FilePath: \react-admin_clientd:\Developer\WGJ\VSCode_WorkSpace\Web\typescript\code\chapter02\part2\src\index.ts
 * @Description:
 */
// 引入样式
import './style/index.less';
// import Food from './modules/Food';

// const food = new Food();
// console.log(food.X, food.Y);
// food.change();
// console.log(food.X, food.Y);
import GameControl from './modules/GameControl';
const gameControl = new GameControl();

setInterval(() => {
    console.log(gameControl.direction);
}, 1000);
